﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CouponPage.aspx.cs" Inherits="CampanyCMS.WebUI.Admin.Coupon.CouponPage" %>

 
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register assembly="My97" namespace="My97" tagprefix="cc1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>NewNews</title>
    <link href="../../css/cssCn1.css" type="text/css" rel="stylesheet">
    <link href="../../css/cssCn.css" type="text/css" rel="stylesheet">

    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        function checkinput() {
            if ($.trim($('#txtTitle').val()) == '') {
                alert("请输入标题");
                $('#txtTitle').focus();
                return false;                
            }
        
        }

    </script>

</head>
<body ms_positioning="GridLayout">
    <form id="Form1" method="post" runat="server">
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
            <td>
                <div class="div_subtitle">
                    当前位置：优惠卷<span class="arrow_subtitle">&gt;</span>优惠卷信息</div>
            </td>
        </tr>
    </table>
    <table id="tb_content" cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td>
                    <table id="tb_content" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <table class="tb_input" id="queryPane" cellspacing="1" cellpadding="0" width="100%"
                                    align="center" bgcolor="#ffffff" border="0">
                                    <tr>
                                        <td colspan="2">
                                            <img src="../../Img/showtoc.gif"> &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            编号</td>
                                        <td>
                                             
                                                <asp:TextBox ID="txtCouponNo" runat="server" Width="166px"></asp:TextBox> 
                                                <asp:Button ID="bntget" runat="server" onclick="bntget_Click" Text="获取" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            数量
                                        </td>
                                        <td>
                                            <font face="宋体">
                                                <asp:TextBox ID="txtPcount" runat="server" Width="165px">1</asp:TextBox>
                                            (用于不指定用户，数量大于一时候，可以多个人使用)</font></td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            有效期</td>
                                        <td>
                                            <cc1:DateTextBox ID="dateBegindate" runat="server" Width="138px"></cc1:DateTextBox>
                                            至<cc1:DateTextBox ID="dateEnddate" runat="server" Width="154px"></cc1:DateTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            金额</td>
                                        <td>
                                             
                                                <asp:TextBox ID="txtAmount" runat="server" Width="166px"></asp:TextBox> 
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            指定用户</td>
                                        <td>
                                             
                                                <asp:TextBox ID="txtUsername" runat="server" Width="166px"></asp:TextBox> 
                                                （不指定用户时候，可以任何人用）</td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            状态</td>
                                        <td>
                                            <asp:DropDownList ID="drpStatus" runat="server">
                                                <asp:ListItem Value="1">可用</asp:ListItem>
                                                <asp:ListItem Value="0">不可用</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            描述</td>
                                        <td>
                                             
                                                <asp:TextBox ID="txtTitle" runat="server" Width="311px" Height="34px" 
                                                TextMode="MultiLine"></asp:TextBox> 
                                        </td>
                                    </tr>
                                </table>
                                <table width="100%">
                                    <tr>
                                        <td align="right" width="100%">
                                            <asp:Button ID="btnSave" runat="server" CssClass="Button" Text="保存" OnClick="btnSave_Click"
                                                OnClientClick="return checkinput()"></asp:Button>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
